﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Medianamik.Core.Synchronization
{
    [Serializable]
    public class RecordProperty
    {
        public Guid? NodeTypePropertyId { get; set; }
        public String NodeTypePropertyName { get; set; }
        public object Value { get; set; }
        private string _cultureName;
        public string CultureName
        {
            get { return _cultureName ?? ""; }
            set { _cultureName = value; }
        }

        //Permet de trouver le Record en reference (lookup) selon Value dont la valeur est celle de PreviousId (Record)
        public string ReferencedTypeName { get; set; }
        public string ReferencedPropertyName { get; set; }
        public PropertyType PropertyType { get; set; }
    }
}
